<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>联系方式 - 爽客网</title>
<%@include file="../common/js.jsp" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<script type="text/javascript">
	function bingPhone(divId){
			var load = $("#"+divId);
			var width = load.width();
			var height = load.height();
			var left = (500 - width) / 2 + $(window).scrollLeft() + 'px'; 
			var top = 9 + 'px'; 
			$(load).css({
				"left" : left,
				"top" : top
			});
			$(load).show();
			//$(load).bgiframe();
			//showMask();
	}

	function closedBphone(){
		$("#bingPhone").hide();
	}
	function closedBemail(){
		$("#bingEmail").hide();
	}
	function saveCon(memberId){
		$.post("saveMemberCon.htm", {
			memberId : memberId,
			mobilephone: $("#mobilephone").val(),
			msn: $("#msn").val(),
			qq:$("#qq").val()
		}, function(data) {
			if (data == 'success') {
				alert("保存成功！")
				hideMask();
				window.location.href="member.htm";
			}
		});
	}
</script>
</head>
<body>
 <!-- contact -->
                        	<div class="i_contact_sort_wrap clearfix">
                            	<div class="i_contact">
                                	<ul>
                                    	<li>
                                        	 <span>手机：</span> <input id="mobilephone" value="${member.mobilephone}" class="input_txt"  type="text"/>
                                          <%-- <c:if test="${member.mobilephone ==''}"><a href="javascript:void(0);" class="clrblue" onclick="bingPhone('bingPhone');">绑定手机</a></c:if> --%>
                                        </li>
                                        <li>
                                        	<span>邮箱：</span><i>${member.email}</i>
                                           <!--  <a href="javascript:void(0);" class="clrblue ml10" onclick="bingPhone('bingEmail');">更改已激活的邮箱</a> -->
                                        </li>
                                        <li>
                                        	<span>QQ：</span>
                                            <input type="text" class="input_txt" id="qq" value="${memberDetail.qq}"/>
                                        </li>
                                        <li>
                                        	<span>MSN：</span>
                                            <input type="text" class="input_txt" id="msn" value="${memberDetail.msn}"/>
                                        </li>
                                        <li>
                                        	<input type="image" src="../../images/smallpic/btn_83x23.png" class="i_submit" onclick="saveCon('${member.id}')"/>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        <!-- contact--end -->
                        
                        
     
									    <div class="tc_wrap" style="display: none;"  id="bingEmail">
									    	<a href="#" class="btn_close" onclick="closedBemail();"">关闭</a>
									        <div class="tc_infobox">
									            <table class="form_info">
									                <tr>
									                	<td class="col1"><span>邮件地址：</span></td>
									                    <td>
									                    	<input type="text" class="textbox email" />
									                    	<span class="block mt5 clrred">请输入邮件地址</span>
									                        <span class="block mt5 clrred">邮件地址已存在</span>
									                    </td>
									                </tr>
									                <tr>
									                	<td class="col1"></td>
									                    <td>
									                    	<input type="submit" value="发送激活邮件" class="def_btn" />
									                    </td>
									                </tr>
									            </table>
									           
									        </div>
									    </div>
</body>
</html>